package com.wish.house.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author lyk
 * @since 2022-08-19
 */
@Getter
@Setter
@TableName("t_house")
public class House implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String address;

    private String community;

    private String building;

    private String area;

    private Integer floors;

    private String door;

    private String rooms;

    private Double price;

    /**
     * 房子所有人的id
     */
    private Integer consumerId;


}
